cmd_mmc: fix arg parsing for setdsr subcmd
authorMarkus Niebel <[email protected]>
Fri, 3 Feb 2017 14:26:36 +0000 (15:26 +0100)
committerStefano Babic <[email protected]>
Wed, 12 Apr 2017 16:46:38 +0000 (18:46 +0200)
commit84c1dfe42f08570b8a62f64ab3e45d1b62783b07
tree700a3559f6f818a7d5738c60114dde14f5a2ca54
parent2018ef868c1faf6231b8aeb6d0427f139923a9a6
cmd_mmc: fix arg parsing for setdsr subcmd

The handler do_setdsr receives only the dsr parameter,
the action is parsed before.

Error was introduced when restructuring the mmc command
implementation in commit 1fd93c6e7d8a1e4d6261058cefab11b875ded252.

Reported-by: Michael Krummsdorf <[email protected]>
Signed-off-by: Markus Niebel <[email protected]>
cmd/mmc.c